<?php
/*
 * @Created by: wangchengcheng
 * @Author: wangchengcheng
 * @Date: 2020-01-02 10:51:22
 * @LastEditors  : wangchengcheng
 * @LastEditTime : 2020-01-02 14:26:19
 */

use Illuminate\Database\Seeder;

class ArticleTagsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('article_tags')->truncate();
        DB::table('article_tags')->insert([
            [
                'article_id'    => 1,
                'tag_id'        => 1,
                'created_at'    => '2010-01-02 10:27:12',
                'deleted_at'    => '2010-01-02 10:27:12',
                'deleted_at'    => null,
            ],
            [
                'article_id'    => 2,
                'tag_id'        => 2,
                'created_at'    => '2010-01-02 10:27:12',
                'deleted_at'    => '2010-01-02 10:27:12',
                'deleted_at'    => null,
            ]
        ]);
    }
}
